package com.itheima.fileutil;

import org.apache.commons.io.FileUtils;

import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;

public class Demo01 {
    public static void main(String[] args) throws IOException {
        //关于fileutil简单使用

        //复制文件
//        File file = new File("bbb.txt");
//        File file1 = new File("d.txt");
//        FileUtils.copyFile(file,file1);
//
//         File src = new File("E:\\cdj");
//        File dest = new File("E:\\cdjindex");
//        FileUtils.copyDirectory(src,dest);


    }
}
